package com.sumainfor.pc.gmio.service.impl;
import com.sumainfor.pc.gmio.dao.DiComplaintTypeMapper;
import com.sumainfor.pc.gmio.service.DiComplaintTypeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import java.util.concurrent.locks.ReentrantLock;

/**
 * 投诉内容类型
 */
@Service
public class DiComplaintTypeServiceImpl implements DiComplaintTypeService {

    private ReentrantLock lock = new ReentrantLock(false);
    Logger log= LoggerFactory.getLogger(DiComplaintTypeServiceImpl.class);
    @Autowired
    private DiComplaintTypeMapper diComplaintTypeMapper;
    /*
     * 查询所有的投诉类型
     * */
    @Override
    public List<Map<String, Object>> getDiComplaintTypeList() {
        return diComplaintTypeMapper.getDiComplaintTypeList();
    }
}
